﻿@model Gfw.Web.Models.Account.OutlayModel

@{
    ViewBag.Title = "新增支出";
    Layout = "~/Areas/Admin/Views/Shared/_LayoutContent.cshtml";
}


@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>新增支出</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.PayMoney)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PayMoney)
            @Html.ValidationMessageFor(model => model.PayMoney)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PayType)
        </div>
        <div class="editor-field">
            @Html.DropDownListFor(model => model.PayType, ViewBag.PayTypeList as IEnumerable<SelectListItem>)
            @Html.ValidationMessageFor(model => model.PayType)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PayAbstract)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PayAbstract)
            @Html.ValidationMessageFor(model => model.PayAbstract)
        </div>

        <p>
            <input type="submit" value="新增" />
        </p>
    </fieldset>
}

@section Scripts {
    @System.Web.Optimization.Scripts.Render("~/bundles/jqueryval")
}
